home *** CD-ROM | disk | FTP | other *** search
/ PC User 2003 September / Australian PC User - September 2003 (CD1).iso / magstuff / web / files / psp801ev.exe / Data1.cab / Preset_MagnifyingLens_Ghostl < prev    next >
Encoding:
Text File  |  2003-06-06  |  1.9 KB  |  58 lines

  1. from JascApp import *
  2.  
  3. def ScriptProperties():
  4.     return {
  5.         'Author': 'Kris Zaklika',
  6.         'Copyright': 'Copyright (C) 2002-2003, Jasc Software Inc., All Rights Reserved.',
  7.         'Description': 'A ghostly or X-Files effect. Original idea: Angela M. Cable.',
  8.         'Host': 'Paint Shop Pro',
  9.         'Host Version': '8.00'
  10.         }
  11.  
  12. def Preset_MagnifyingLens():
  13.     return {
  14.         'Bound': (0.07625,0.0633333,0.92625,0.936667), 
  15.         'Darkness': 100, 
  16.         'Defocus': 0, 
  17.         'Frame': {
  18.             'FrameColor': (255,255,255), 
  19.             'Material': App.Constants.LensFrameMaterial.BeigePlastic, 
  20.             'Style': App.Constants.LensFrameShape.Circular, 
  21.             'Thickness': 20
  22.             }, 
  23.         'Illumination': {
  24.             'LightList': [{
  25.                 'LightColor': (19,120,0), 
  26.                 'LightDirection': (-0.9942,0.5959,-0.0063), 
  27.                 'HighlightSize': 99
  28.                 },{
  29.                 'LightColor': (0,255,0), 
  30.                 'LightDirection': (0.73735,-0.38265,0.556681), 
  31.                 'HighlightSize': 7
  32.                 }], 
  33.             'MaxAmbience': 37, 
  34.             'MinAmbience': 30
  35.             }, 
  36.         'LensSurface': {
  37.             'EnvironmentMap': {
  38.                 'Active': App.Constants.Boolean.false
  39.                 }, 
  40.             'Gloss': 67, 
  41.             'Magnification': 0, 
  42.             'LensMaterial': {
  43.                 'Color': (253,57,152), 
  44.                 'Pattern': None, 
  45.                 'Gradient': None, 
  46.                 'Texture': None
  47.                 }, 
  48.             'LensOpacity': 60, 
  49.             'Refraction': 0, 
  50.             'ShapeType': App.Constants.LensShape.Spherical, 
  51.             'Shininess': 94
  52.             }
  53.         }
  54.  
  55. def Do(Environment):
  56.     App.Do( Environment, 'MagnifyingLens',         Preset_MagnifyingLens())
  57.  
  58.